import request from '@/lib/request';

/**
 * 获取密钥
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubClubSecretKey () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubSecretKey',
    method: 'get'
  });
}
/**
 * 获取生成的卡片信息（卡片，读取方式等）
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubClubCard () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubCard',
    method: 'get'
  });
}
/**
 * 依据卡号查人/依据卡查人
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubClubCardStudent (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubCardStudent',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 依据实体卡号查询学员及课程
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubClubCardStudentSearchCardStudent (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubCardStudent/searchCardStuent',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 绑定
 * @tips ClubIndex
 * @tags [ClubIndex]
 * @param { object } aDataBody
  */
export function api_POST_ClubClubCardStudent (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubCardStudent',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 解绑
 * @tips
 * @tags
 * @param { object } aDataQuery
  */
export function api_DELETE_ClubClubCardStudent (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/clubCardStudent',
    method: 'delete',
    params: aDataQuery
  });
}
/**
 * 查询机构运营数据
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubWorkBenchOrganizationData (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/workBench/organizationData',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询待办事项数据
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubWorkBenchToDoItemData () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/workBench/toDoItemData',
    method: 'get'
  });
}
/**
 * 获取整体运营数据
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubWorkBenchOperationalData (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/workBench/operationalData',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取销售趋势统计数据
 * @tips
 * @tags
 * @param
  */
export function api_GET_ClubWorkBenchSalesAmountStatistics (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: '/api/app/Club/workBench/salesAmountStatistics',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取有权限的组织机构列表
 * @tips
 * @tags []
  */
export function api_GET_ClubSettingClubs () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_HALL_BASE,
    url: `/api/app/Club/setting/clubs`,
    method: 'get'
  });
}
